package com.cw.service;

import com.cw.pojo.TbGoods;
import com.cw.pojo.TbGoodsDesc;
import com.cw.pojo.TbItem;

import java.util.List;

public interface GoodService {
    void saveGoods(TbGoods tbGoods, TbGoodsDesc tbGoodsDesc, List<TbItem> itemList, String name, String thp1, String thp2);

    List<TbGoods> getGoodsInfo(String goodsName);

    void checkStatu(Long[] ids, String status);

    TbGoods getGoods(Long goodsId);

    TbGoodsDesc getGoodsDesc(Long goodsId);
}
